package com.example.demo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @Author：徐志荣
 * @Date：2023/6/29 上午 11:50
 */

@Data
public class ArticleInfo {
    private Integer id;
    private String title;
    private String content;
/*    private Date createtime;
    private Date updatetime;*/

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createtime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime updatetime;

    private Integer uid;
    private Integer rcount;
    private Integer state;
}
